package com.ft.turorial.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2016/12/12
 * \* Time: 17:40
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */
public class LogBackCustom {
    private static final Logger logger = LoggerFactory.getLogger(LogBackCustom.class);
    public void performSomeTask(){
        logger.debug("This is a debug message");
        logger.info("This is an info message");
        logger.warn("This is a warn message");
        logger.error("This is an error message");
        logger.trace("This is a fatal message");
    }
}
